customproperty: Remove unused function
authorBenjamin Otte <otte@redhat.com>
Sat, 21 Nov 2015 01:11:52 +0000 (02:11 +0100)
committerBenjamin Otte <otte@redhat.com>
Sat, 21 Nov 2015 01:11:52 +0000 (02:11 +0100)
gtk/gtkcsscustomproperty.c

index fbaa8400bc4efe6a4350cd3fe0050b3b8658556f..f210ad397ba02b63f3229c16a5b33ad7a9384381 100644 (file)
 
 G_DEFINE_TYPE (GtkCssCustomProperty, _gtk_css_custom_property, GTK_TYPE_CSS_STYLE_PROPERTY)
 
-static GType
-gtk_css_custom_property_get_specified_type (GParamSpec *pspec)
-{
-  G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
-
-  if (pspec->value_type == GDK_TYPE_RGBA ||
-      pspec->value_type == GDK_TYPE_COLOR)
-    return GTK_TYPE_SYMBOLIC_COLOR;
-  else
-    return pspec->value_type;
-
-  G_GNUC_END_IGNORE_DEPRECATIONS;
-}
-
 static GtkCssValue *
 gtk_css_custom_property_parse_value (GtkStyleProperty *property,
                                      GtkCssParser     *parser)